import logging

def Log1():
    logging.basicConfig(filemode='w+',
                        filename='rkshiwulog.log',
                        level=logging.DEBUG,
                        format='%(message)s %(filename)s %(levelname)s %(asctime)s %(lineno)d')